/*********************
* Author:Dzlua
* QQ:505544956
* time:2016/12/03
*/
#ifndef __EDUI_LUATILELAYOUT_H__
#define __EDUI_LUATILELAYOUT_H__

#include "../../container/TileLayout.h"
#include "LuaContainer.h"

#ifdef EDUI_USE_LUAPLUS

EDUI_NAMESPACE_BEGIN

class LuaTileLayout : public LuaContainer
{
public:
    LuaTileLayout(TileLayout* tileLayout);
    virtual ~LuaTileLayout();
    static void* GetInterface(void* data);
    virtual void Release();
    static void Register(LuaState *L);
public:
    void SetItemSize(int w, int h);
    int GetItemSize(LuaState *L);
    void SetColumns(int columns);
    int  GetColumns();
};

EDUI_NAMESPACE_END

#endif
#endif